<?php
/*
 * This file is to configure the link to the DPS database
 *
 * When this file is included, there'll be an SQL link to the DPS database generated automatically
 *
 */
 
/**
* The IP address of the DPS database server
*
* @var       string
* @access    public
*/
$dps_host="127.0.0.1";//Local
//$dps_host="118.126.1.5";//Shanghai Geisnic
//$dps_host="60.190.167.187";//Zhejiang ZKDNS

/**
* The database name of the DPS server
*
* @var       string
* @access    public
*/
$dps_basename="distrema";

/**
* The username with the full access of the DPS
*
* @var       string
* @access    public
*/
$dps_username="distrema_f";

/**
* The username with the full access of the DPS
*
* @var       string
* @access    public
*/
$dps_password="WZyQZ3FH7M98qBVY";

/**
* The minium activity to preload a var.the larger the number is the slower users loding the page and the smaller the database size is.
*
* @var       integer
* @access    public
*/
$min_activity=5;

/**
* Set up a DPS link
*/
$dps_link=mysql_connect($dps_host,$dps_username,$dps_password);
mysql_select_db($dps_basename,$dps_link);

/**
* The following variables are params for the Travel Agency Module
*/

/**
* Needed Posts:realname,mobile,pick_up_address,gender,set_off_time
* Actions:Send a application to the Agency and give the user a chance to confirm
*
* @var       integer
* @access    public
*/	
$apply_confirm_processor="apply_confirm.php";

/**
* Needed Posts:epsn,user_ID
* Actions:Shows the information of the user
*
* @var       integer
* @access    public
*/
$user_page_processor="../person/user_page.php";

/**
* Needed Posts:(trip_full_name),submit
* Actions:Shows the travelers of a trip,you can either post a trip full name to the processor or use the "trip full name" cookie
*
* @var       integer
* @access    public
*/
$trip_detail_processor="trip_detail.php";

/**
* Needed Posts:(trip_full_name)
* Actions:Shows the detailes of a route
*
* @var       integer
* @access    public
*/
$route_detail_processor="route_detail.php";

/**
* Needed Posts:receiver(get),amount(get),memo(get)
* Actions:Entery of the online payment function
*
* @var       integer
* @access    public
*/
$pay_processor="pay_info.php";

/**
* Needed Posts:trip_full_name
* Actions:Check a trip as payed
*
* @var       integer
* @access    public
*/
$agc_pay_processor="agc_pay.php";

/**
* Needed Posts:NULL
* Actions:The page for user manage
*
* @var       integer
* @access    public
*/
$user_manage_processor="../user_login.php";

/**
* Needed Posts:username,password,epsn
* Actions:process user login
*
* @var       integer
* @access    public
*/
$user_login_processor="../user.php";

/**
* Two colors of the table
*
* @var       integer
* @access    public
*/
$color1="#D2EFFF";
$color2="#E3E3E3";

/**
* The following variables are params for the Online Payment Module
*/

/**
* Needed Posts:pay_info
* Actions:receive the payment described by the pay_info
*
* @var       integer
* @access    public
*/
$receive_pay_processor="receive_pay.php";
?>